<?php

namespace app\api\model;

class NoteCode extends BaseModel
{

    public static function checkVerificationCode($param) {
        $code = self::where('mobile', '=', $param['mobile'])
            ->where('code', '=', $param['code'])
            ->find();
        return $code;
    }
}
